<!DOCTYPE html>
<html   xmlns="http://www.w3c.org/1999/xhtml"
        xmlns:h="http://java.sun.com/jsf/html"
        xmlns:p="http://primefaces.org/ui"
        xmlns:f="http://xmlns.jcp.org/jsf/core">
    <h:head/>
    <h:body>
        <p:dataScroller value="#{carBean.cars}" var="car" chunkSize="5">
            <f:facet name="header">Cars</f:facet>
            #{car.manufacturer}
        </p:dataScroller>
        
        <p:dataScroller value="#{carBean.cars}" var="car" chunkSize="5" mode="inline">
            #{car.manufacturer}
        </p:dataScroller>
    </h:body>
</html>